package com.adcc.swingui.demo.panel;

import java.awt.Container;

import javax.swing.JComponent;
import javax.swing.JLabel;
import javax.swing.JPanel;

import com.adcc.swingui.base.DefaultPanel;
/**
 * 地图面板
 * @author charlie
 *
 */
public class DiTuPanel extends DefaultPanel {
	private JPanel panel;
	private JLabel label;
	public DiTuPanel(Container container) {
		super(container);
	}

	@Override
	protected JComponent build() {
		panel = new JPanel();
		label = new JLabel("hello");
		panel.add(label);
		return panel;
	}

	@Override
	protected void i18n() {
		label.setText("大家好");
	}

}
